//
//  UIColor+HexStringColor.h
//  FunctionModule
//
//  Created by mac03 on 2021/6/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (HexStringColor)
/// 颜色
+(UIColor *)colorWithHexString:(NSString *)color;
/// 带透明度
+(UIColor *)colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;

/// 颜色暗夜模式
+(UIColor *)colorWithHexString:(NSString *)whiteC blackHexString:(NSString *)blackC;

/// 颜色暗夜模式带透明度
+(UIColor *)colorWithHexString:(NSString *)whiteC blackHexString:(NSString *)blackC alpha:(CGFloat)alpha;
@end

NS_ASSUME_NONNULL_END
